import Vue from 'vue'
import App from './App.vue'
import router from './router/router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import Moment from 'moment'
import './global.less'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
import echarts from 'echarts'

Vue.use(VueAwesomeSwiper)
import VueAMap from 'vue-amap';
Vue.use(VueAMap);
// VueAMap.initAMapApiLoader({
//     key: 'f7c28c0c211ceb3e995e8b26c3c8b32c',
//     plugin: ['AMap.Autocomplete', 'AMap.PlaceSearch', 'AMap.Scale', 'AMap.OverView', 'AMap.ToolBar', 'AMap.MapType', 'AMap.PolyEditor', 'AMap.CircleEditor','Geocoder'],
//     // 默认高德 sdk 版本为 1.4.4
//     v: '1.4.4'
// });
VueAMap.initAMapApiLoader({
    key: 'f7c28c0c211ceb3e995e8b26c3c8b32c',
    plugin: ['Geocoder']
});
Vue.use(ElementUI);
Vue.config.productionTip = false

Vue.prototype.Moment = Moment
Vue.prototype.$echarts = echarts

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')
